package com.turing.job.admin.model.dto;

import java.time.LocalDate;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Description 日志dto
 * @Author lcy
 * @Date 2021/5/31 15:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder(toBuilder = true)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class XxlLogDto {

    /**
     * 删除该日期以前的日志
     */
    private LocalDate beforeDate;

    /**
     * 任务组
     */
    private int jobGroup;

    /**
     * 任务id
     */
    private int jobId;

    /**
     * 任务名称
     */
    private String executorHandler;

    /**
     * 调度结果-200:正常，500:失败
     */
    private Integer triggerCode;

    /**
     * 执行结果-200:正常，500:失败
     */
    private Integer handlerCode;

}
